import Vue from 'vue'

Vue.mixin({
  data() {
    return {}
  },
  methods: {
    // vux里面的数据
    hasPerm(key) {
      try {
        return this.$store.getters.points.includes(key)
      } catch (error) {
        return false
      }
    }
  }
})
